from django.shortcuts import render

# Create your views here.
def sss(request):
    return render(request,'666.html')

def man(request):
    if request.method == 'GET':
        return render(request, '666.html')
    else:
        name = request.POST.get('account')
        password = request.POST.get('password')
        if name == '震坤' and password == '2006':
            return render(request, 'login.html')
        else:
            return render(request,'666.html',{'error':'用户名或密码错误'})
def way(request):
    print("这个函数其实没什么用")